tags:
  - table
summary: 查询数据表
description: 查询数据表
operationId: "{{ uniqueOpId() }}"  
requestBody:
  content:
    application/json:
      schema:
        type: object
        properties:
          id: 
            type: string
            description: mongo连接ID
          token:
            type: string
            description: 访问令牌
          db:
            type: string
            description: 数据库名
          table:
            type: string
            description: 数据表名
          where:
            type: string
            description: 查询条件
          offset:
            type: integer
            description: 分页偏移
          limit:
            type: integer
            description: 单页数量
responses:
  "200":
    description: 成功
    content:
      application/json:
        schema:
          type: object
          properties:
            columns:
              type: array
              items:
                $ref: "@schemas/column.yml.njk"
            count:
              type: integer
              description: 记录数量
            values:
              type: array
              items:
                type: array
                items:
                  type: string  
  "500":
    description:  失败
    content:
      application/json:
        schema:
          $ref: "@schemas/errInfo.yml.njk"              